<?php


namespace app\api\model;


use think\console\command\make\Model;

class Memder

{
    public function hello()
    {
        $mobole = input('get.moblie');
        $password = input('get.password');
        $nickname = input('get.nickname');
        if (empty($mobole) || empty($password) || empty($nickname)) {
            echo '请填入完整信息';
            die();
        }
        if (strlen($mobole) != 11) {
            echo '手机号码不合法';
            die();
        }
        if (strlen($password) != 11) {
            echo '密码长度不能小于6位';
            die();
            $memderModel = new Model();
            $data = $memderModel->where(fiele: 'memder_mobile');

    }

    }
}